/**
 * @description 协议
 */
import React from 'react';
import loadable from "commons/loadable";
import RouterNotMatch from "components/RouterNotMatch";
import { HashRouter, Route, Switch, Redirect } from 'react-router-dom';

export const App = () => {
    return (
        <HashRouter>
            <Switch>
                <Route path="/GoodsBuy" component={loadable(() => import("./GoodsBuy"))} />
                <Route path="*" component={RouterNotMatch} />
            </Switch>
        </HashRouter>
    )
}

export default App;